package com.zf.yichat.utils.HJpay.com.sdk.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.zf.yichat.utils.HJpay.com.sdk.constants.CommonConst;

/**
 * 响应给商户的VO
 */
public class Response {
    private String biz_code;
    private String biz_msg;
    @JSONField(jsonDirect = true)
    private String data;
    private String mch_no;
    private String rand_str;
    private String sign;
    private String sign_type;
    private String sec_key;

    public String[] splitAesKey(){
        return sec_key.split(CommonConst.AES_KEY_SEPARATOR);
    }

    public String getBiz_code() {
        return biz_code;
    }

    public void setBiz_code(String biz_code) {
        this.biz_code = biz_code;
    }

    public String getBiz_msg() {
        return biz_msg;
    }

    public void setBiz_msg(String biz_msg) {
        this.biz_msg = biz_msg;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getMch_no() {
        return mch_no;
    }

    public void setMch_no(String mch_no) {
        this.mch_no = mch_no;
    }

    public String getRand_str() {
        return rand_str;
    }

    public void setRand_str(String rand_str) {
        this.rand_str = rand_str;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSign_type() {
        return sign_type;
    }

    public void setSign_type(String sign_type) {
        this.sign_type = sign_type;
    }

    public String getSec_key() {
        return sec_key;
    }

    public void setSec_key(String sec_key) {
        this.sec_key = sec_key;
    }
}
